﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jh_planupdate.aspx.cs" Inherits="rc_jh_update" validateRequest="false"%>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../css/link.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body>

    <form id="form1" runat="server">
        <br />
        <br />
        <br />
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="6" height="21"><img src="../images/sj/leftlin1.gif" width="6" height="21"></td>
      <td width="936" bgcolor="#5AAE18"><div align="center">
          <div align="center" class="style1"><span class="style1 style16 style4"><strong>修 改 计 划</strong></span></div>
          <span class="style1"></span></div></td>
      <td width="6" height="21"><img src="../images/sj/rightlin1.gif" width="6" height="21"></td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
    <tr bgcolor="#FFFFFF">
    <td colspan="8">
    <div>
        &nbsp;<asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False"
            DataSourceID="ObjectDataSource2" Height="50px" Width="100%">
            <Fields>
                <asp:TemplateField HeaderText="编号" SortExpression="to_id">
                    <EditItemTemplate>
                        <asp:Label ID="label1" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:Label ID="label2" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="label3" runat="server" Text='<%# Bind("to_id") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="主题" SortExpression="to_title">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("to_title") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("to_title") %>'></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label5" runat="server" Text='<%# Bind("to_title") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="内容" SortExpression="to_content">
                    <EditItemTemplate>
                        <FTB:FreeTextBox ID="ftbContent" runat="server" Text='<%# Bind("to_content") %>'>
                        </FTB:FreeTextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("to_content") %>'></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("to_content") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="发送人" SortExpression="to_u_id">
                    <EditItemTemplate>
                        <asp:Label ID="Label16" runat="server" Text='<%# Bind("to_u_id") %>'></asp:Label>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("users.u_username") %>'></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("users.u_username") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="发送时间" SortExpression="to_sendtime">
                    <EditItemTemplate>
                        <asp:Label ID="Label15" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:Label>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label6" runat="server" Text='<%# Bind("to_sendtime") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="状态" SortExpression="to_state" >
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("to_state") %>' ></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("to_state") %>' ></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label7" runat="server" Text='<%# Bind("to_state") %>' ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="读否" SortExpression="to_isread" Visible="False">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label8" runat="server" Text='<%# Bind("to_isread") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="批阅时间" SortExpression="to_readtime">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false"></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false" ></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label9" runat="server" Text='<%# Bind("to_readtime") %>' Visible="false" ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="批阅内容" SortExpression="to_readcontent" Visible="False">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("to_readcontent") %>'  Visible="false"></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("to_readcontent") %>' Visible="false"></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label10" runat="server" Text='<%# Bind("to_readcontent") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="批阅人" SortExpression="to_readerid" Visible="False">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox11" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label11" runat="server" Text='<%# Bind("to_readerid") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="日程日期" SortExpression="to_orderdate" >
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:TextBox>
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:TextBox>
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Bind("to_orderdate") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField ShowEditButton="True" />
            </Fields>
        </asp:DetailsView>
    
    </div>
    </td>
    </tr>
  </table>
        <br />
        <div align="center">
        <img alt=""  src="../images/sj/up.gif" width="17" height="12"/><a href="javascript:history.go(-1)">返 回</a><br />
        </div>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" DataObjectTypeName="COM.OA.Entity.timeorder" SelectMethod="Select" TypeName="COM.OA.BLL.timeorderBLL"
            UpdateMethod="Update">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="1" Name="to_id" QueryStringField="id" Type="Int32" />
                <asp:Parameter DefaultValue="true" Name="bParentTable" Type="Boolean" />
                <asp:Parameter DefaultValue="false" Name="bChildrenTable" Type="Boolean" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </form>
</body>
</html>
